package com.ebupt.migu.music.common.constants;

import java.security.PublicKey;

/**
 * Created by Intellij IDEA.
 * User:  liuyangyang@cd.ebupt.com
 * Date:  2019/9/13
 * 用户群信息中的常量参数
 */
public class UserGroupConstants {

    // 用户群创建方式
    // 静态标签创建人群
    public static final byte CREATE_BY_STATIC_LABEL = 1;
    // 动态标签创建人群
    public static final byte CREATE_BY_DYNAMIC_LABEL = 2;
    // 文件导入创建人群
    public static final byte CREATE_BY_FILE_UPLOAD = 3;
    // 人群重组-取交集
    public static final byte RECOMBINE_BY_INTERSECT = 4;
    // 人群重组-并集
    public static final byte RECOMBINE_BY_UNION = 5;
    // 人群重组-左差集
    public static final byte RECOMBINE_BY_DIFF_LEFT = 6;
    // 人群重组-右差集
    public static final byte RECOMBINE_BY_DIFF_RIGHT = 7;
    // 人群重组-对称差集
    public static final byte RECOMBINE_BY_DIFF_SYMMETRIC = 8;
    // 重度用户创建
    public static final byte CREATE_BY_HEAVY_USERS_LABEL = 12;
    // 新标签选择-用户生命周期创建
    public static final byte CREATE_BY_USER_LIFE_CYCLE = 13;
    // 新标签选择-自动运营
    public static final byte CREATE_BY_AutoOperate = 14;

    // 新标签选择-IOP
    public static final byte CREATE_BY_IOP = 15;


    // 人群状态标识
    // 人群创建中
    public static final byte BEING_CREATED = 1;
    // 人群待提交（保存在草稿箱中）
    public static final byte WAITING_FOR_SUBMISSION = 2;
    // 等待更新
    public static final byte WAITING_FOR_UPDATE = 3;
    // 更新中
    public static final byte UPDATING = 4;
    // 已完成
    public static final byte COMPLETED = 5;
    // 提取失败
    public static final byte UPDATE_FAILED = 6;
    // 导入失败
    public static final byte IMPORT_FAILED = 7;
    // 已失效（锁定状态）
    public static final byte LOCKING = 8;
    // 已删除
    public static final byte DELETED = 9;
    // 统一标签服务平台临时客群
    public static final byte TMP = 21;

    //人群更新优先级排序
    //创建完成更新
    public static final byte CREATE_UPDATE = 1;
    //手动更新
    public static final byte MANUAL_UPDATE = 2;
    //自动更新
    public static final byte AUTO_UPDATE = 3;
    //非FTP创建
    public static final String IS_NOT_FTP = "0";
    //FTP创建
    public static final String IS_FTP = "1";
}
